<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>双向绑定</title>
    <script src="./vue.js"></script>
</head>
<body>

<div id="app">
    <input type="text" v-model="message">
    <p>{{message}}</p>
</div>

<script>
    let vm = new Vue({
        el: "#app",
        data: {
            message: 'hello vue'
        }
    })
</script>

</body>
</html>